package com.banksoft.cps.dao;

import com.banksoft.cps.bean.MonitorValueImport;
import com.banksoft.cps.bean.warpper.MonitorValueImportWarpper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/5/31.
 */
@Repository
public interface MonitorValueImportDao {

    void batchInsert(List<MonitorValueImport> list);

    List<MonitorValueImportWarpper> listByDeviceIdList(@Param("deviceIdList") List<String> deviceIdList,
                                                       @Param("timeB") long timeB,
                                                       @Param("timeE") long timeE);


}
